html, body { 
  /* so other elements can fill height to 100% */
  height:100%; 
}

body {
 /* resets padding and margin */
	padding:0;
	margin:0;
	background:#333;
 
 /* text inside body can not be selected */
	-webkit-user-select:none;
 
 /* The text size inside body can not be adjusted: 
    I guess */
 -webkit-text-size-adjust:none;
 
	color:#eee;
	font-family:helvetica;
	font-size:12px;
}

/* this is the scrolling area */
/* wrapper takes up the entire screen */
#wrapper {
	width:100%;
	min-width:320px;
	height:100%;
}

#wrapper iframe {
  background: white;
}

/* the nav area */
#nav {
	position:absolute;
	z-index:100;
	top:8px;
	width:200px;
	height:20px;
	left:50%;
	background:rgba(0,0,0,0.75);
	padding:0;
 /* I guess this centers it */
	margin:0 0 0 -100px;
	-webkit-border-radius:10px;
}

#nav li {
	display:block;
 /* this is what causes horizontal alignment for list items */
	float:left;
	width:14px;
	height:14px; line-height:14px;
	/* this creates a circle */
 -webkit-border-radius:7px;
	background:rgba(255,255,255,0.1);
	overflow:hidden;
	padding:0;
	margin:3px 11px 0 0;
	text-align:center;
}

/* I guess this is prev button */
#nav li#prev {
	margin-left:5px;
	background:transparent;
}

/* I guess this is next button */
#nav li#next {
	margin-right:0;
	background:transparent;
}


/* I guess this is selected circle */
#nav li.selected {
	background:rgba(255,255,255,0.4);
}

/* this is the swipview-slider that swipeview creates */
#swipeview-slider > div {
  
 /* I guess this is set to relative so other elements 
    can be positioned inside it */
	position:relative;
 /* use box layout */
	display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-box-pack:center;
	-webkit-box-align:center;
 
 /* this clears floats that are inside it */
	overflow:hidden;
}

#swipeview-slider img {
	display:block;
	border:5px solid #eee;
	-webkit-box-shadow:0 2px 6px #000;
	-webkit-border-radius:2px;
	-webkit-transition-duration:.4s;
	-webkit-transition-property:opacity;
	opacity:1;
 /* The element is never the target of mouse events */
	pointer-events:none;
}

#swipeview-slider span {
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	padding:20px 0;
	display:block;
	background:rgba(0,0,0,0.75);
	font-size:20px;
	text-align:center;
	text-shadow:0 1px 0 #000;
	border-top:1px solid rgba(255,255,255,0.2);
	-webkit-border-top-left-radius:10px;
	-webkit-border-top-right-radius:10px;
	
 /* setup transition properties, 
    it will animate by sliding up
  */
 -webkit-transition-duration:.3s;
	-webkit-transition-property:-webkit-transform;
 /* initialy span is in the bottom */
	-webkit-transform:translate3d(0,100%,0);
}

/* i think this will move the span up */
#swipeview-slider .swipeview-active span {
	-webkit-transform:translate3d(0,0,0);
}

#wrapper > div > .swipeview-loading {
	background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#444), to(#555)),
		-webkit-gradient(linear, 0 0, 100% 0, from(#777), to(#777));
	background-position:50% 50%, 50% 50%;
	background-size:200px 140px, 210px 150px;
	background-repeat:no-repeat;
}

#wrapper > div > .swipeview-loading img,
#swipeview-slider img.loading {
	-webkit-transition-duration:0;
	opacity:0;
}

#wrapper > div > .swipeview-loading span {
	-webkit-transition-duration:0;
	-webkit-transform:translate3d(0,100%,0);
}